<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <!-- 输入框 -->
    <input type="text" v-model.lazy="inputTxt">
    <hr>
    <input type="text" v-model.trim="inputTxt">
    <hr>
    <input type="text" v-model.number="inputTxt">
    <hr>
    {{inputTxt}}
   
  </div>
  <script src="./vue.global.js"></script>
  <script>
    const msg = '这是全局变量';
    const { createApp } = Vue;
    const app = createApp({
      data(){
        return {
          inputTxt: '你好vue'
        }
      }
    })
    app.mount('#app')

  
  </script>
</body>
</html>